package com.lvideo.http;

public final class LVideoHttpConstant {

	/**
	 * 读取超时时间
	 * */
	public static final int READ_TIMEOUT = 10 * 1000 ;
	
	/**
	 * 连接超时时间
	 * */
	public static final int CONNECT_TIMEOUT = 10 * 1000 ;
	
	/**
	 * LOG名
	 * */
	public static final String LOG = "LVideoHttp" ;
	
	public static final String REFERER = "referer";
	
	public static final String USER_AGENT = "User-agent";

	public static final String CONTENT_TYPE = "Content-Type";

	public static final String CONTENT_ENCODING = "Content-Encoding";

	public static final String ACCEPT_ENCODING = "Accept-Encoding";
	
	/**
	 * 是否debug
	 * */
	public static boolean isDebug = false ;
	
	public static void setDebug(boolean isDebug){
		LVideoHttpConstant.isDebug = isDebug ;
	}

	public static String TIMEOUT_CODE = "100010";
}
